-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added figures to generated documentation #767
Conversation
Also, added prefLabel as anchoring points such that one can use the browser to easily get documentation of a concept one knows the prefLabel of. For example, entering https://w3id.org/emmo#Atom should bring you to the section in the html doc that documents Atom.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #767 +/- ##
==========================================
+ Coverage 72.63% 72.72% +0.08%
==========================================
Files 18 18
Lines 3706 3721 +15
==========================================
+ Hits 2692 2706 +14
- Misses 1014 1015 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no example or test.
At least I want t more through description in the code itself. E.g. adapt text in the PR comment and include it in the documentation.
…mmo-repo/EMMO-python into add-figures-to-generated-documentation
It is tested, both online and in the tests/ folder |
Added figures to generated documentation. If the value of a property matches a regex for a figure on the web, it will be included in the documentation.
Further work: The figure size should probably be adjusted to not make the table too large. Probably preferred to only show a thumbnail-sized version of the figure in the table. The full size could be shown by clicking. Easier to play with in a following-up PR when this is applied to EMMO.
Also, added prefLabel as anchoring points such that one can use the browser to easily get documentation of a concept one knows the prefLabel of.
For example, entering
should bring you to the section in the html doc that documents Atom.
Description
Type of change
Checklist
This checklist can be used as a help for the reviewer.
Comments